package com.project.shtp.pojo.web.vo;

public class UserCollection {
    int userId;
    int goodsId;
    double goodsPrice;
    String goodsTitle;
    String goodsDescription;
    byte[] goodsImage;

    public UserCollection() {}

    public UserCollection(int userId, int goodsId, double goodsPrice, String goodsTitle, String goodsDescription, byte[] goodsImage) {
        this.userId = userId;
        this.goodsId = goodsId;
        this.goodsPrice = goodsPrice;
        this.goodsTitle = goodsTitle;
        this.goodsDescription = goodsDescription;
        this.goodsImage = goodsImage;
    }

    @Override
    public String toString() {
        return "UserCollection{" +
                "userId=" + userId +
                ", goodsId=" + goodsId +
                ", goodsPrice=" + goodsPrice +
                ", goodsTitle='" + goodsTitle + '\'' +
                ", goodsDescription='" + goodsDescription + '\'' +
                ", goodsImage=" + goodsImage +
                '}';
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(int goodsId) {
        this.goodsId = goodsId;
    }

    public double getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(double goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public String getGoodsTitle() {
        return goodsTitle;
    }

    public void setGoodsTitle(String goodsTitle) {
        this.goodsTitle = goodsTitle;
    }

    public String getGoodsDescription() {
        return goodsDescription;
    }

    public void setGoodsDescription(String goodsDescription) {
        this.goodsDescription = goodsDescription;
    }

    public byte[] getGoodsImage() {
        return goodsImage;
    }

    public void setGoodsImage(byte[] goodsImage) {
        this.goodsImage = goodsImage;
    }
}
